Skip to content

docs: make the README webhook handler async - #16

Merged
pietechsolution merged 1 commit into
mainfrom
docs/readme-webhook-async
Nov 12, 2026
Merged

pietechsolution merged 1 commit into
mainfrom
docs/readme-webhook-async

Conversation

@pietechsolution

Copy link
Copy Markdown
Contributor

The Express webhook handler in the README awaits alreadyProcessed() and handle(), but the handler was declared (req, res) => {, so the sample did not parse when copied. It is now async (req, res) => {, which matches the webhook page on docs.seatlayer.io.

README only. No code or package change.

Checked: every ts block in the README parsed with the TypeScript parser. Before the change the webhook block raised "'await' expressions are only allowed within async functions"; after it, it parses.

@pietechsolution
pietechsolution merged commit a4eda35 into main Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants